public class ServerLauncher 
{
    public static void main(String[] args) 
    {
        String directory = "C:/Servidor/";
        long capacity = 1*1024*1024*1024; //Gb
        if (args.length != 0)
        {
            directory = args[0];
            capacity = Long.parseLong(args[1])*1024*1024*1024;
        }
        Thread serverUDP = new ServerUDP();
        serverUDP.start();
        Thread acceptClients = new ServerTCP(directory, capacity);
        acceptClients.start();
    }
}